package Java0731;

import org.junit.Test;

public class ArrayUtil {
	private ArrayUtil() {
	}
	
		public static  int max(int[] array) {
			int max = array[0];
			for (int i = 0; i < array.length; i++) {
				if (max < array[i]) {
					max = array[i];
				}
			}
			return max;
		}
@Test
public void test1() {
	
}
	
}
